#pragma once
#include "muduo/net/EventLoopThread.h"
#include "../comm/Log.h"
#include "../comm/util.h"
#include "../comm/threadpool.h"

namespace ns_work
{
    class AsyncWorker
    {
    public:
        using ptr = std::shared_ptr<AsyncWorker>;
        muduo::net::EventLoopThread loopthread;
        ThreadPool pool;
    };
}